﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ObjectCache.Tokens;

namespace ObjectCache.Test
{
    public partial class CacheForm : Form
    {
        public CacheForm()
        {
            InitializeComponent();
        }

        private void CacheForm_Load(object sender, EventArgs e)
        {
            var val = CacheManager.Instance.GetCache<int, string>().GetWithCreate(0, () => "Hello", new InstanceToken(this));
        }
    }
}
